package com.woniu.swagger.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("t_card")
public class Card {
    //主键id
    @TableId(type = IdType.AUTO)
    private int cardId;
    //证件号
    private String cardNum;
    //持证人
    private String cardHolder;
    //有效期
    private Timestamp cardIndate;
    //证件类型
    private String cardType;

}
